/**
 * 
 */
package partitioning;

/**
 * @author puneet
 *
 */
public class GraphPartition {
	private String host;
	private int port;
	private boolean local;
	private boolean active;
	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public boolean isLocal() {
		return local;
	}

	public void setLocal(boolean local) {
		this.local = local;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	@Override
	public String toString() {
		return "Host:"+host + " port:" + port + " isLocal:" + isLocal();
	}

	

}
